/**
 * 根据权限代码，判断当前用户是否拥有该权限代码
 * @param {*} permiss_code 对应的权限id
 */
export const checkAuth = (permiss_code:String)=>{
  let permissions:any = window.localStorage.getItem('permissions');
  //超级管理员
  if(permissions.includes('5fcb5ef6e52f5657f05dd87a')) return true
  return permissions.includes(permiss_code)
}